export class Calculator {
  private count: number;
  constructor() {
    this.count = 0;
  }

  add(a: number, b: number): number {
    this.count++;
    return a + b;
  }

  minus(a: number, b: number): number {
    this.count++;
    return a - b;
  }

  getCount(): number {
    return this.count;
  }
}
